package com.metrohm.edu.validation.sample2.validator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;

@Constraint(validatedBy = { DosingRateValidator.class })
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidDosingRate {
    String message() default "{com.metrohm.edu.validation.ValidDosingRate.message}";
    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
}
